import Vue from 'vue'
import App from './App.vue'
import router from './router'
import Vant from 'vant'
import 'vant/lib/index.css'
import axios from 'axios'
import { Swipe, SwipeItem } from 'vant';
import { PullRefresh } from 'vant';
import { Tab, Tabs } from 'vant';
import { Lazyload } from 'vant';
import { Grid, GridItem } from 'vant';
import { List } from 'vant';
import { NavBar } from 'vant';
import { Card } from 'vant';
import { NoticeBar } from 'vant';
import { Dialog } from 'vant';
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import { Notify } from 'vant';
import { Image as VanImage } from 'vant';
import { Form } from 'vant';
import { Collapse, CollapseItem } from 'vant';
import { Picker } from 'vant';
import { Toast } from 'vant';
import { ContactCard } from 'vant';
import { SubmitBar } from 'vant';

Vue.use(Notify);
Vue.use(SubmitBar)
Vue.use(ContactCard);
Vue.use(Toast)
Vue.use(Picker);
Vue.use(Collapse);
Vue.use(CollapseItem);

Vue.use(Form);

Vue.use(VanImage);

Vue.use(Notify);

Vue.use(ElementUI);

Vue.use(Dialog);

Vue.use(NoticeBar);

Vue.use(Card);

Vue.use(NavBar);


Vue.use(List);

Vue.use(Grid);
Vue.use(GridItem);

Vue.use(Lazyload);


Vue.use(Tab);
Vue.use(Tabs);

Vue.use(PullRefresh);

Vue.use(Swipe);
Vue.use(SwipeItem);

Vue.use(Vant)
Vue.use(axios)

// MintUI
import MintUI from 'mint-ui'
import 'mint-ui/lib/style.css'

Vue.use(MintUI)

import { Search } from 'mint-ui';

Vue.component(Search.name, Search);

Vue.config.productionTip = false

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
